package cn.topcodes.tcsf.app.domain.form;

import cn.topcodes.tcsf.admin.commons.domain.Idable;
import lombok.Data;
import org.hibernate.validator.constraints.NotBlank;

/**
 * @author arjun
 * @date 2021-03-02 10:49
 */
@Data
public class AppConfigForm implements Idable {

    private Long id;

    @NotBlank(message = "App type cannot be blank")
    private String appType;

    @NotBlank(message = "Configuration item name cannot be empty")
    private String name;

    @NotBlank(message = "Configuration item value cannot be empty")
    private String value;
}
